package com.jy.admin.db.dao.impl;

import com.fqgj.common.base.AbstractBaseMapper;
import com.jy.admin.db.dao.DtQueryLogDao;
import com.jy.admin.db.entity.BillHistoryVo;
import com.jy.admin.db.entity.DtQueryLogEntity;
import org.springframework.stereotype.Repository;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
 * User: jeff
 * Date: 2022-05-25
 * Time: 17:47:58.409
 */

@Repository
public class DtQueryLogDaoImpl extends AbstractBaseMapper<DtQueryLogEntity> implements DtQueryLogDao {

    @Override
    public List<BillHistoryVo> getAllBorrowRecordsByMobile(String md5Mobile) {
        Map<String, Object> params = new HashMap<>();
        params.put("md5Mobile", md5Mobile);
        return getSqlSession().selectList(this.getStatement("getAllBorrowRecordsByMobile"), params);
    }
}